.processCenter-easy-item-process-detail-modal {
  .ant-modal .ant-modal-header {
    padding: 9px 20px;
  }

  .ant-modal-content{
    height: 100%;
  }

  .processCenter-easy-item-process-detail-modal-fullscreen {
    position: absolute;
    top: 10px;
    right: 50px;

    &>span {
      &>svg {
        width: 20px;
        height: 20px;
        margin-right: 15px;
        color: #999;
      }

      &>svg:hover {
        color: #333;
      }
    }
  }
}

.processCenter-easy-item-process-detail-drawer {
  .ant-drawer-header {
    height: 40px;
    padding: 16px 20px 16px 20px;
  }

  .ant-drawer-header-title button {
    position: absolute;
    right: 7px;
  }

  .ant-drawer-content {
    overflow: unset;

    .ant-drawer-body {
      padding: 0;
      overflow: unset;
    }
  }
}

.processCenter-quick-approval-modal {
  .ant-modal-header {
    .ant-modal-title {
      font-size: 16px;
    }
  }

  .processCenter-quick-approval-modal-step1 {
    height: calc(100% - 32px);
    padding: 0 20px;

    .processCenter-quick-approval-modal-prompt {
      font-size: 14px;
      color: #999;
      margin-top: 11px;
      margin-bottom: 20px;
    }

    .processCenter-quick-approval-modal-instance {
      height: calc(100% - 233px);
      display: flex;

      .processCenter-quick-approval-modal-instance-text {
        font-size: 14px;
        color: #666;
        width: 85px;
        text-align: right;
        margin-right: 5px;
      }

      .processCenter-quick-approval-modal-instance-textarea {
        width: calc(100% - 90px);

        textarea.ant-input {
          height: 100%;
          resize: none;


          &::-webkit-scrollbar {
            width: 6px;
            height: 6px;
            background-color: transparent;
            transition: background-color 0.25s ease-in-out;
          }

          &::-webkit-scrollbar-thumb {
            background-color: transparent;
          }

          &:hover {
            &::-webkit-scrollbar {
              width: 6px;
              height: 6px;
              background-color: #ddd;
              border-radius: 4px;
            }

            /* 定义滚动条轨道内阴影+圆角 */
            &::-webkit-scrollbar-track {
              background-color: #f5f5f5;
              border-radius: 4px;

              --webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
            }

            /* 定义滑块内阴影+圆角 */
            &::-webkit-scrollbar-thumb {
              background-color: #ddd;
              border-radius: 4px;

              --webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
            }
          }
        }
      }
    }

    .processCenter-quick-approval-modal-processes {
      height: calc(100% - 233px);
      overflow-y: auto;

      .processCenter-quick-approval-modal-processes-item {
        height: 40px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
        font-size: 14px;

        &:hover {
          background: #f5f5f5;

          .processCenter-quick-approval-modal-processes-content {
            width: calc(100% - 76px);
          }

          .processCenter-quick-approval-modal-processes-item-operations {
            display: flex;
            align-items: center;

            .processCenter-quick-approval-modal-processes-item-operations-item {
              width: 100%;
              display: flex;
              align-items: center;
              justify-content: center;
              cursor: pointer;

              svg {
                fill: #666;
              }

              &:nth-child(2) {
                margin: 0 8px;
              }

              &:hover {
                svg {
                  fill: var(--inbiz-color-primary);
                }
              }
            }
          }
        }

        &:nth-last-child(1) {
          margin-bottom: 0;
        }

        .processCenter-quick-approval-modal-processes-content {
          width: 100%;
          display: flex;
          align-items: center;

          .processCenter-quick-approval-modal-processes-item-initiatorName,
          .processCenter-quick-approval-modal-processes-item-processTask {
            color: #333;
          }

          .processCenter-quick-approval-modal-processes-item-initiatorName {
            margin-right: 4px;
          }

          .processCenter-quick-approval-modal-processes-item-initiat,
          .processCenter-quick-approval-modal-processes-item-summary {
            color: #999;
          }

          .processCenter-quick-approval-modal-processes-item-summary {
            flex: 1;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
          }
        }

        .processCenter-quick-approval-modal-processes-item-operations {
          display: none;
        }
      }
    }

    .processCenter-quick-approval-modal-opinions-wrapper {
      display: flex;
      justify-content: center;
      margin: 20px 0 40px;

      .processCenter-quick-approval-modal-opinions {
        display: flex;

        .processCenter-quick-approval-modal-opinions-text {
          font-size: 14px;
          color: #666;
          width: 85px;
          text-align: right;
          margin-right: 5px;
        }

        .processCenter-quick-approval-modal-opinions-textarea {
          width: 597px;

          textarea.ant-input {
            height: 120px;
            resize: none;

            &::-webkit-scrollbar {
              width: 6px;
              height: 6px;
              background-color: transparent;
              transition: background-color 0.25s ease-in-out;
            }

            &::-webkit-scrollbar-thumb {
              background-color: transparent;
            }

            &:hover {
              &::-webkit-scrollbar {
                width: 6px;
                height: 6px;
                background-color: #ddd;
                border-radius: 4px;
              }

              /* 定义滚动条轨道内阴影+圆角 */
              &::-webkit-scrollbar-track {
                background-color: #f5f5f5;
                border-radius: 4px;

                --webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
              }

              /* 定义滑块内阴影+圆角 */
              &::-webkit-scrollbar-thumb {
                background-color: #ddd;
                border-radius: 4px;

                --webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
              }
            }
          }
        }
      }
    }
  }

  .processCenter-quick-approval-modal-step2 {
    height: calc(100% - 72px);
    margin-bottom: 40px;

    .processCenter-quick-approval-modal-step2-top {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 40px;

      .processCenter-quick-approval-modal-step2-top-icon {
        margin-top: 30px;
      }

      .processCenter-quick-approval-modal-step2-top-done {
        margin: 10px 0 20px;
        font-size: 18px;
        color: #333;
      }

      .processCenter-quick-approval-modal-step2-top-number {
        display: flex;
        align-items: center;
        color: #666;

        &>svg {
          margin-right: 4px;
        }
      }
    }

    .processCenter-quick-approval-modal-step2-fail {
      padding: 0 20px;
      font-size: 14px;
      color: #999;
      line-height: 22px;
    }
  }

  .processCenter-quick-approval-modal-butttons {
    display: flex;
    justify-content: center;
    align-items: center;
  }


  .processCenter-quick-approval-modal-fullscreen {
    position: absolute;
    top: 10px;
    right: 50px;

    &>span {
      &>svg {
        width: 20px;
        height: 20px;
        margin-right: 15px;
        color: #999;
      }

      &>svg:hover {
        color: #333;
      }
    }
  }
}

.processCenter-quick-approval-modal-fullModal {}